package com.mycinema.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mycinema.biz.CategoryBiz;
import com.mycinema.dao.CategoryDao;
import com.mycinema.entity.Category;



@Service("categoryBiz")
public class CategoryBizImpl implements CategoryBiz {
	@Autowired
	private CategoryDao categoryDao;
	public List<Category> getAll() {
		return categoryDao.getAll();
	}
	public void add(Category category) {
		categoryDao.add(category);
	}

}
